package com.lsfb.duishangbaos.Login.ShopEnter;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * Created by Administrator on 2017/5/12 0012.
 */

public class AddressBean implements IPickerViewData {

    /**
     * id : 1
     * name : 北京市
     * lists : [{"id":37,"name":"东城区","lists":[{"id":567,"name":"东华门街道"},{"id":568,"name":"东四街道"},{"id":569,"name":"东直门街道"},{"id":570,"name":"交道口街道"},{"id":571,"name":"北新桥街道"},{"id":572,"name":"和平里街道"},{"id":573,"name":"安定门街道"},{"id":574,"name":"建国门街道"},{"id":575,"name":"景山街道"},{"id":576,"name":"朝阳门街道"}]},{"id":38,"name":"西城区","lists":[{"id":577,"name":"什刹海街道"},{"id":578,"name":"展览路街道"},{"id":579,"name":"德胜街道"},{"id":580,"name":"新街口街道"},{"id":581,"name":"月坛街道"},{"id":582,"name":"西长安街街道"},{"id":583,"name":"金融街街道"}]},{"id":39,"name":"崇文区","lists":[{"id":584,"name":"东花市街道"},{"id":585,"name":"体育馆路街道"},{"id":586,"name":"前门街道"},{"id":587,"name":"天坛街道"},{"id":588,"name":"崇文门外街道"},{"id":589,"name":"永定门外街道"},{"id":590,"name":"龙潭街道"}]},{"id":40,"name":"宣武区","lists":[{"id":591,"name":"大栅栏街道"},{"id":592,"name":"天桥街道"},{"id":593,"name":"广安门内街道"},{"id":594,"name":"广安门外街道"},{"id":595,"name":"椿树街道"},{"id":596,"name":"牛街街道"},{"id":597,"name":"白纸坊街道"},{"id":598,"name":"陶然亭街道"}]},{"id":41,"name":"朝阳区","lists":[{"id":599,"name":"三里屯街道"},{"id":600,"name":"三间房地区（三间房乡）"},{"id":601,"name":"东坝地区（东坝乡）"},{"id":602,"name":"东风地区（东风乡）"},{"id":603,"name":"亚运村街道"},{"id":604,"name":"八里庄街道"},{"id":605,"name":"六里屯街道"},{"id":606,"name":"劲松街道"},{"id":607,"name":"十八里店地区（十八里店乡）"},{"id":608,"name":"南磨房地区（南磨房乡）"},{"id":609,"name":"双井街道"},{"id":610,"name":"呼家楼街道"},{"id":611,"name":"和平街街道"},{"id":612,"name":"团结湖街道"},{"id":613,"name":"垡头街道"},{"id":614,"name":"大屯街道"},{"id":615,"name":"太阳宫地区（太阳宫乡）"},{"id":616,"name":"奥运村地区（奥运村乡）"},{"id":617,"name":"孙河地区（孙河乡）"},{"id":618,"name":"安贞街道"},{"id":619,"name":"将台地区（将台乡）"},{"id":620,"name":"小关街道"},{"id":621,"name":"小红门地区（小红门乡）"},{"id":622,"name":"崔各庄地区（崔各庄乡）"},{"id":623,"name":"左家庄街道"},{"id":624,"name":"常营回族地区（常营回族乡）"},{"id":625,"name":"平房地区（平房乡）"},{"id":626,"name":"建国门外街道"},{"id":627,"name":"望京开发街道"},{"id":628,"name":"望京街道"},{"id":629,"name":"朝阳门外街道"},{"id":630,"name":"来广营地区（来广营乡）"},{"id":631,"name":"潘家园街道"},{"id":632,"name":"王四营地区（王四营乡）"},{"id":633,"name":"管庄地区（管庄乡）"},{"id":634,"name":"豆各庄地区（豆各庄乡）"},{"id":635,"name":"酒仙桥街道"},{"id":636,"name":"金盏地区（金盏乡）"},{"id":637,"name":"首都机场街道"},{"id":638,"name":"香河园街道"},{"id":639,"name":"高碑店地区（高碑店乡）"},{"id":640,"name":"麦子店街道"},{"id":641,"name":"黑庄户地区（黑庄户乡）"}]},{"id":42,"name":"丰台区","lists":[{"id":642,"name":"东铁匠营街道"},{"id":643,"name":"东高地街道"},{"id":644,"name":"丰台街道"},{"id":645,"name":"云岗街道"},{"id":646,"name":"南苑乡"},{"id":647,"name":"南苑街道"},{"id":648,"name":"卢沟桥乡"},{"id":649,"name":"卢沟桥街道"},{"id":650,"name":"右安门街道"},{"id":651,"name":"和义街道"},{"id":652,"name":"大红门街道"},{"id":653,"name":"太平桥街道"},{"id":654,"name":"宛平城地区"},{"id":655,"name":"新村街道"},{"id":656,"name":"方庄地区"},{"id":657,"name":"王佐镇"},{"id":658,"name":"花乡乡"},{"id":659,"name":"西罗园街道"},{"id":660,"name":"长辛店街道"},{"id":661,"name":"长辛店镇"},{"id":662,"name":"马家堡街道"}]},{"id":43,"name":"石景山区","lists":[{"id":663,"name":"五里坨街道"},{"id":664,"name":"八宝山街道"},{"id":665,"name":"八角街道"},{"id":666,"name":"北辛安街道"},{"id":667,"name":"古城街道"},{"id":668,"name":"广宁街道"},{"id":669,"name":"老山街道"},{"id":670,"name":"苹果园街道"},{"id":671,"name":"金顶街街道"},{"id":672,"name":"鲁谷街道"}]},{"id":44,"name":"海淀区","lists":[{"id":673,"name":"万寿路街道"},{"id":674,"name":"万柳地区（海淀乡）"},{"id":675,"name":"上地街道"},{"id":676,"name":"上庄镇"},{"id":677,"name":"东升地区（东升乡）"},{"id":678,"name":"中关村街道"},{"id":679,"name":"八里庄街道"},{"id":680,"name":"北下关街道"},{"id":681,"name":"北太平庄街道"},{"id":682,"name":"四季青镇"},{"id":683,"name":"学院路街道"},{"id":684,"name":"曙光街道"},{"id":685,"name":"永定路街道"},{"id":686,"name":"海淀街道"},{"id":687,"name":"清华园街道"},{"id":688,"name":"清河街道"},{"id":689,"name":"温泉镇"},{"id":690,"name":"燕园街道"},{"id":691,"name":"甘家口街道"},{"id":692,"name":"田村路街道"},{"id":693,"name":"紫竹院街道"},{"id":694,"name":"羊坊店街道"},{"id":695,"name":"花园路街道"},{"id":696,"name":"苏家坨镇"},{"id":697,"name":"西三旗街道"},{"id":698,"name":"西北旺镇"},{"id":699,"name":"青龙桥街道"},{"id":700,"name":"香山街道"},{"id":701,"name":"马连洼街道"}]},{"id":45,"name":"门头沟区","lists":[{"id":702,"name":"东辛房街道"},{"id":703,"name":"军庄镇"},{"id":704,"name":"城子街道"},{"id":705,"name":"大台街道"},{"id":706,"name":"大峪街道"},{"id":707,"name":"妙峰山镇"},{"id":708,"name":"斋堂镇"},{"id":709,"name":"永定镇"},{"id":710,"name":"清水镇"},{"id":711,"name":"潭柘寺镇"},{"id":712,"name":"王平地区"},{"id":713,"name":"雁翅镇"},{"id":714,"name":"龙泉镇"}]},{"id":46,"name":"房山区","lists":[{"id":715,"name":"东风街道"},{"id":716,"name":"佛子庄乡"},{"id":717,"name":"十渡镇"},{"id":718,"name":"南窖乡"},{"id":719,"name":"史家营乡"},{"id":720,"name":"向阳街道"},{"id":721,"name":"周口店地区"},{"id":722,"name":"城关街道"},{"id":723,"name":"大安山乡"},{"id":724,"name":"大石窝镇"},{"id":725,"name":"张坊镇"},{"id":726,"name":"拱辰街道"},{"id":727,"name":"新镇街道"},{"id":728,"name":"星城街道"},{"id":729,"name":"河北镇"},{"id":730,"name":"琉璃河地区"},{"id":731,"name":"石楼镇"},{"id":732,"name":"窦店镇"},{"id":733,"name":"良乡地区"},{"id":734,"name":"蒲洼乡"},{"id":735,"name":"西潞街道"},{"id":736,"name":"迎风街道"},{"id":737,"name":"长沟镇"},{"id":738,"name":"长阳镇"},{"id":739,"name":"阎村镇"},{"id":740,"name":"霞云岭乡"},{"id":741,"name":"青龙湖镇"},{"id":742,"name":"韩村河镇"}]},{"id":47,"name":"通州区","lists":[{"id":743,"name":"中仓街道"},{"id":744,"name":"于家务回族乡"},{"id":745,"name":"北苑街道"},{"id":746,"name":"台湖镇"},{"id":747,"name":"宋庄镇"},{"id":748,"name":"张家湾镇"},{"id":749,"name":"新华街道"},{"id":750,"name":"梨园地区"},{"id":751,"name":"永乐店镇"},{"id":752,"name":"永顺地区"},{"id":753,"name":"漷县镇"},{"id":754,"name":"潞城镇"},{"id":755,"name":"玉桥街道"},{"id":756,"name":"西集镇"},{"id":757,"name":"马驹桥镇"}]},{"id":48,"name":"顺义区","lists":[{"id":758,"name":"仁和地区"},{"id":759,"name":"光明街道"},{"id":760,"name":"北务镇"},{"id":761,"name":"北小营镇"},{"id":762,"name":"北石槽镇"},{"id":763,"name":"南彩镇"},{"id":764,"name":"南法信地区"},{"id":765,"name":"后沙峪地区"},{"id":766,"name":"大孙各庄镇"},{"id":767,"name":"天竺地区"},{"id":768,"name":"张镇"},{"id":769,"name":"木林镇"},{"id":770,"name":"李桥镇"},{"id":771,"name":"李遂镇"},{"id":772,"name":"杨镇地区"},{"id":773,"name":"牛栏山地区"},{"id":774,"name":"石园街道"},{"id":775,"name":"胜利街道"},{"id":776,"name":"赵全营镇"},{"id":777,"name":"马坡地区"},{"id":778,"name":"高丽营镇"},{"id":779,"name":"龙湾屯镇"}]},{"id":49,"name":"昌平区","lists":[{"id":780,"name":"东小口地区"},{"id":781,"name":"兴寿镇"},{"id":782,"name":"北七家镇"},{"id":783,"name":"十三陵镇"},{"id":784,"name":"南口地区"},{"id":785,"name":"南邵镇"},{"id":786,"name":"回龙观地区"},{"id":787,"name":"城北街道"},{"id":788,"name":"城南街道"},{"id":789,"name":"小汤山镇"},{"id":790,"name":"崔村镇"},{"id":791,"name":"沙河地区"},{"id":792,"name":"流村镇"},{"id":793,"name":"百善镇"},{"id":794,"name":"长陵镇"},{"id":795,"name":"阳坊镇"},{"id":796,"name":"马池口地区"}]},{"id":50,"name":"大兴区","lists":[{"id":797,"name":"亦庄地区（亦庄镇）"},{"id":798,"name":"兴丰街道"},{"id":799,"name":"北臧村镇"},{"id":800,"name":"安定镇"},{"id":801,"name":"庞各庄镇"},{"id":802,"name":"旧宫地区（旧宫镇）"},{"id":803,"name":"林校路街道"},{"id":804,"name":"榆垡镇"},{"id":805,"name":"清源街道"},{"id":806,"name":"瀛海镇"},{"id":807,"name":"礼贤镇"},{"id":808,"name":"西红门地区（西红门镇）"},{"id":809,"name":"采育镇"},{"id":810,"name":"长子营镇"},{"id":811,"name":"青云店镇"},{"id":812,"name":"魏善庄镇"},{"id":813,"name":"黄村地区（黄村镇）"}]},{"id":51,"name":"怀柔区","lists":[{"id":814,"name":"九渡河镇"},{"id":815,"name":"北房镇"},{"id":816,"name":"喇叭沟门满族乡"},{"id":817,"name":"宝山镇"},{"id":818,"name":"庙城地区"},{"id":819,"name":"怀北镇"},{"id":820,"name":"怀柔地区"},{"id":821,"name":"杨宋镇"},{"id":822,"name":"桥梓镇"},{"id":823,"name":"汤河口镇"},{"id":824,"name":"泉河街道"},{"id":825,"name":"渤海镇"},{"id":826,"name":"琉璃庙镇"},{"id":827,"name":"长哨营满族乡"},{"id":828,"name":"雁栖地区"},{"id":829,"name":"龙山街道"}]},{"id":52,"name":"平谷区","lists":[{"id":830,"name":"东高村镇"},{"id":831,"name":"兴谷街道"},{"id":832,"name":"刘家店镇"},{"id":833,"name":"南独乐河镇"},{"id":834,"name":"夏各庄镇"},{"id":835,"name":"大兴庄镇"},{"id":836,"name":"大华山镇"},{"id":837,"name":"山东庄镇"},{"id":838,"name":"峪口地区"},{"id":839,"name":"渔阳地区"},{"id":840,"name":"滨河街道"},{"id":841,"name":"熊儿寨乡"},{"id":842,"name":"王辛庄镇"},{"id":843,"name":"金海湖地区"},{"id":844,"name":"镇罗营镇"},{"id":845,"name":"马坊地区"},{"id":846,"name":"马昌营镇"},{"id":847,"name":"黄松峪乡"}]},{"id":53,"name":"密云县","lists":[{"id":848,"name":"不老屯镇"},{"id":849,"name":"东邵渠镇"},{"id":850,"name":"冯家峪镇"},{"id":851,"name":"北庄镇"},{"id":852,"name":"十里堡镇"},{"id":853,"name":"古北口镇"},{"id":854,"name":"大城子镇"},{"id":855,"name":"太师屯镇"},{"id":856,"name":"密云镇"},{"id":857,"name":"巨各庄镇"},{"id":858,"name":"新城子镇"},{"id":859,"name":"果园街道"},{"id":860,"name":"檀营地区（檀营满族蒙古族乡）"},{"id":861,"name":"河南寨镇"},{"id":862,"name":"溪翁庄镇"},{"id":863,"name":"石城镇"},{"id":864,"name":"穆家峪镇"},{"id":865,"name":"西田各庄镇"},{"id":866,"name":"高岭镇"},{"id":867,"name":"鼓楼街道"}]},{"id":54,"name":"延庆县","lists":[{"id":868,"name":"井庄镇"},{"id":869,"name":"八达岭镇"},{"id":870,"name":"刘斌堡乡"},{"id":871,"name":"千家店镇"},{"id":872,"name":"四海镇"},{"id":873,"name":"大庄科乡"},{"id":874,"name":"大榆树镇"},{"id":875,"name":"康庄镇"},{"id":876,"name":"延庆镇"},{"id":877,"name":"张山营镇"},{"id":878,"name":"旧县镇"},{"id":879,"name":"永宁镇"},{"id":880,"name":"沈家营镇"},{"id":881,"name":"珍珠泉乡"},{"id":882,"name":"香营乡"}]}]
     */

    private int id;
    private String name;
    private List<ListsBeanX> lists;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ListsBeanX> getLists() {
        return lists;
    }

    public void setLists(List<ListsBeanX> lists) {
        this.lists = lists;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }

    public static class ListsBeanX implements IPickerViewData {
        /**
         * id : 37
         * name : 东城区
         * lists : [{"id":567,"name":"东华门街道"},{"id":568,"name":"东四街道"},{"id":569,"name":"东直门街道"},{"id":570,"name":"交道口街道"},{"id":571,"name":"北新桥街道"},{"id":572,"name":"和平里街道"},{"id":573,"name":"安定门街道"},{"id":574,"name":"建国门街道"},{"id":575,"name":"景山街道"},{"id":576,"name":"朝阳门街道"}]
         */

        private int id;
        private String name;
        private List<ListsBean> lists;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<ListsBean> getLists() {
            return lists;
        }

        public void setLists(List<ListsBean> lists) {
            this.lists = lists;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }

        public static class ListsBean implements IPickerViewData{
            /**
             * id : 567
             * name : 东华门街道
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public ListsBean() {
                this.id = -1;
                this.name = "";
            }

            @Override
            public String getPickerViewText() {
                return name;
            }
        }
    }
}